//
//  WTChatRoomGiftModel+Extend.m
//  WTLiveSDKDemo
//
//  Created by ben on 16/10/22.
//  Copyright © 2016年 ben. All rights reserved.
//

#import "WTChatRoomGiftModel+Extend.h"
#import <objc/runtime.h>

@implementation WTChatRoomGiftModel (Extend)
- (void)setTagCount:(NSInteger)tagCount{
    
    objc_setAssociatedObject(self, @selector(tagCount), @(tagCount), OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}

- (NSInteger)tagCount{
    return [objc_getAssociatedObject(self, _cmd) integerValue];
}


- (void)setSelectedStatus:(BOOL)selectedStatus{
    objc_setAssociatedObject(self, @selector(selectedStatus), @(selectedStatus), OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}

- (BOOL)selectedStatus{
    return [objc_getAssociatedObject(self, _cmd) boolValue];
}

+ (NSArray *)giftCountList{
    
    return @[@(1),@(9),@(99),@(199)];
}
@end
